package com.exchange.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.exchange.entity.vo.DetailPowerRecord;
import lombok.Data;

/**
 *
 * @TableName reservation_record
 */
@TableName(value ="reservation_record")
@Data
public class ReservationRecord implements Serializable {
    /**
     * 预约记录表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 0：交易成功1：交易取消2：交易进行中
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 预留电池信息
     */
    @TableField(value = "dpid")
    private Long dpid;

    /**
     * 用户id
     */
    @TableField(value = "uid")
    private Long uid;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     *
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
